package com.hs.mapper;

import com.hs.entity.PubCenter;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PubCenterMapper {
    //添加
    Integer addPubCenter(PubCenter pubCenter);
    //删除
    Integer deletePubCenter(Integer id);
    //修改
    Integer updatePubCenter(PubCenter pubCenter);
    //根据id查询
    PubCenter getPubCenterById(Integer id);
    //分页查询
    List<PubCenter> getPubCenterList();
}
